//
//  NewExperienceView.m
//  SP2P
//
//  Created by Eternal on 2017/7/13.
//  Copyright © 2017年 EIMS. All rights reserved.
//

#import "NewExperienceView.h"
#import "SGRegisterViewController.h"
@interface NewExperienceView ()

@end
@implementation NewExperienceView
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self = [[[NSBundle mainBundle]loadNibNamed:@"NewExperienceView" owner:self options:nil]lastObject];
        
       
    }
    return self;
}



// 取消广告界面
- (IBAction)clickCancelView:(id)sender {
    
    [self removeFromSuperview];
    
}
// 进入注册界面
- (IBAction)clickregisterclickRegister:(id)sender {
    [self removeFromSuperview];
    SGRegisterViewController *registerVC =[[SGRegisterViewController alloc] init];
    registerVC.flag = 1;
    AppDelegateInstance.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:registerVC];
}


@end
